package com.xlisteven.springboot_ssm_tkmapper.service;


import com.xlisteven.springboot_ssm_tkmapper.bean.User;

import java.util.List;

public interface UserService {
    List<User> findAllUser();

    User findUserById(Integer id);

    void updateUser(User user);

    void deleteUserById(Integer id);

    int  saveUser(User user);

    List<User> search(String name);
}
